mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
close all tabs before session restore
This commit is contained in:
parent
df42e96e95
commit
800bf7126b
1 changed files with 2 additions and 0 deletions
|
|
@ -83,6 +83,8 @@ void Tab::session_restore()
|
|||
|
||||
if (PREPARE == SQLITE_OK)
|
||||
{
|
||||
close_all();
|
||||
|
||||
while (::sqlite3_step(statement) == SQLITE_ROW)
|
||||
{
|
||||
const int PAGE_NUMBER = append();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue