From 2776381a857809f114aa7cfc0a51089c6e0f6afa Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 16 Sep 2015 12:02:05 -0400 Subject: Oops, needed to make the entire suspend frame invisible, not just the button. --- lumina-desktop/panel-plugins/systemstart/StartMenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lumina-desktop') diff --git a/lumina-desktop/panel-plugins/systemstart/StartMenu.cpp b/lumina-desktop/panel-plugins/systemstart/StartMenu.cpp index cc8a55e3..6c39c835 100644 --- a/lumina-desktop/panel-plugins/systemstart/StartMenu.cpp +++ b/lumina-desktop/panel-plugins/systemstart/StartMenu.cpp @@ -287,7 +287,7 @@ void StartMenu::on_stackedWidget_currentChanged(int val){ ui->tool_shutdown->setEnabled(!updating); ui->label_updating->setVisible(updating); //to let the user know *why* they can't shutdown/restart right now } - ui->tool_suspend->setVisible( LOS::systemCanSuspend() ); + ui->frame_leave_suspend->setVisible( LOS::systemCanSuspend() ); } } -- cgit