summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/applets/notesapplet/notes.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/applets/notesapplet/notes.cpp b/noncore/applets/notesapplet/notes.cpp
index 64731e3..a4aa093 100644
--- a/noncore/applets/notesapplet/notes.cpp
+++ b/noncore/applets/notesapplet/notes.cpp
@@ -269,9 +269,9 @@ void NotesControl::populateBox() {
list.append(cfg.readEntry( entryName ));
}
list.sort();
box->insertStringList(list,-1);
-
+ doPopulate=false;
}
void NotesControl::load() {
@@ -347,12 +347,12 @@ void NotesApplet::mousePressEvent( QMouseEvent *) {
vc->show();
vc->move( 5, 18);
vc->doPopulate=true;
vc->populateBox();
- vc->load();
-
+ vc->doPopulate=false;
- this->setFocus();
+ vc->load();
+// this->setFocus();
vc->view->setFocus();
}
}