Unselect selected plan when closing plan window
This commit is contained in:
@@ -97,8 +97,11 @@ struct PlansWindow : Window {
|
||||
~PlansWindow()
|
||||
{
|
||||
this->list.clear();
|
||||
if (_current_plan) {
|
||||
_current_plan->SetFocus(false);
|
||||
_current_plan = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
virtual void OnClick(Point pt, int widget, int click_count)
|
||||
{
|
||||
|
Reference in New Issue
Block a user