[gnote/gnome-3-36] Fix start note creation and importing on first run
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote/gnome-3-36] Fix start note creation and importing on first run
- Date: Sun, 10 May 2020 13:11:21 +0000 (UTC)
commit 08f7166609686025f9a13973713454a924bfe242
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sun May 3 12:54:53 2020 +0300
Fix start note creation and importing on first run
Fixes https://gitlab.gnome.org/GNOME/gnote/-/issues/36
src/notemanager.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/notemanager.cpp b/src/notemanager.cpp
index 55838a35..e05ddacd 100644
--- a/src/notemanager.cpp
+++ b/src/notemanager.cpp
@@ -50,8 +50,9 @@ namespace gnote {
void NoteManager::init(const Glib::ustring & directory)
{
Glib::ustring backup = directory + "/Backup";
- NoteManagerBase::init(directory, backup);
+ // Before base init, after it will be false already
bool is_first_run = first_run();
+ NoteManagerBase::init(directory, backup);
Glib::RefPtr<Gio::Settings> settings = m_preferences.get_schema_settings(Preferences::SCHEMA_GNOTE);
// Watch the START_NOTE_URI setting and update it so that the
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]