-rw-r--r-- | noncore/applets/notesapplet/notes.cpp | 20 |
1 files changed, 10 insertions, 10 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 @@ -272,3 +272,3 @@ void NotesControl::populateBox() { box->insertStringList(list,-1); - + doPopulate=false; } @@ -346,11 +346,11 @@ void NotesApplet::mousePressEvent( QMouseEvent *) { // QPoint curPos = mapToGlobal( rect().topLeft() ); - vc->show(); - vc->move( 5, 18); - vc->doPopulate=true; - vc->populateBox(); - vc->load(); - - - this->setFocus(); - vc->view->setFocus(); + vc->show(); + vc->move( 5, 18); + vc->doPopulate=true; + vc->populateBox(); + vc->doPopulate=false; + + vc->load(); +// this->setFocus(); + vc->view->setFocus(); } |