Tracerestrict: Fix default state of copy/share button planes

pull/519/head
Jonathan G Rennison 1 year ago
parent 731f2fb46e
commit 29495b4e3d

@ -3004,6 +3004,9 @@ private:
this->EnableWidget(TR_WIDGET_COPY_APPEND);
this->EnableWidget(TR_WIDGET_SHARE_ONTO);
this->base_copy_plane = DPC_DUPLICATE;
this->base_share_plane = DPS_SHARE;
if (prog != nullptr && prog->refcount > 1) {
// program is shared, show and enable unshare button, and reset button
this->base_share_plane = DPS_UNSHARE;

Loading…
Cancel
Save