Browse Source

close all tabs before session restore

CPP-GTK4
yggverse 3 months ago
parent
commit
800bf7126b
  1. 2
      src/app/browser/main/tab.cpp

2
src/app/browser/main/tab.cpp

@ -83,6 +83,8 @@ void Tab::session_restore()
if (PREPARE == SQLITE_OK) if (PREPARE == SQLITE_OK)
{ {
close_all();
while (::sqlite3_step(statement) == SQLITE_ROW) while (::sqlite3_step(statement) == SQLITE_ROW)
{ {
const int PAGE_NUMBER = append(); const int PAGE_NUMBER = append();

Loading…
Cancel
Save