Tracerestrict: Fix default state of copy/share button planes
This commit is contained in:
@@ -3004,6 +3004,9 @@ private:
|
|||||||
this->EnableWidget(TR_WIDGET_COPY_APPEND);
|
this->EnableWidget(TR_WIDGET_COPY_APPEND);
|
||||||
this->EnableWidget(TR_WIDGET_SHARE_ONTO);
|
this->EnableWidget(TR_WIDGET_SHARE_ONTO);
|
||||||
|
|
||||||
|
this->base_copy_plane = DPC_DUPLICATE;
|
||||||
|
this->base_share_plane = DPS_SHARE;
|
||||||
|
|
||||||
if (prog != nullptr && prog->refcount > 1) {
|
if (prog != nullptr && prog->refcount > 1) {
|
||||||
// program is shared, show and enable unshare button, and reset button
|
// program is shared, show and enable unshare button, and reset button
|
||||||
this->base_share_plane = DPS_UNSHARE;
|
this->base_share_plane = DPS_UNSHARE;
|
||||||
|
Reference in New Issue
Block a user