[gnote] Fix open note in new window context item sensibility
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Fix open note in new window context item sensibility
- Date: Sat, 11 May 2013 18:15:20 +0000 (UTC)
commit 4971f482150075ee8b00dd21c8d4433e637129b8
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sat May 11 21:14:29 2013 +0300
Fix open note in new window context item sensibility
Should not be sensitive if no note is selected.
src/searchnoteswidget.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/searchnoteswidget.cpp b/src/searchnoteswidget.cpp
index fefbc07..33fecb8 100644
--- a/src/searchnoteswidget.cpp
+++ b/src/searchnoteswidget.cpp
@@ -832,10 +832,12 @@ void SearchNotesWidget::on_selection_changed()
if(selected_notes.empty()) {
m_open_note_action->property_sensitive() = false;
+ m_open_note_new_window_action->property_sensitive() = false;
m_delete_note_action->property_sensitive() = false;
}
else {
m_open_note_action->property_sensitive() = true;
+ m_open_note_new_window_action->property_sensitive() = true;
m_delete_note_action->property_sensitive() = true;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]