mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
implement restore feature for navbar request, change id data type to sqlite3_int64
This commit is contained in:
parent
9d88b4aa16
commit
6b6ae753bc
7 changed files with 167 additions and 11 deletions
|
|
@ -82,7 +82,15 @@ int Tab::restore()
|
|||
) == 1
|
||||
);
|
||||
|
||||
// @TODO restore child widget sessions
|
||||
// Restore children components
|
||||
get_tabPage(
|
||||
PAGE_NUMBER
|
||||
)->restore(
|
||||
sqlite3_column_int64(
|
||||
statement,
|
||||
DB::SESSION::ID
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -377,7 +385,7 @@ int Tab::DB::SESSION::clean(
|
|||
{
|
||||
while (sqlite3_step(statement) == SQLITE_ROW)
|
||||
{
|
||||
const int APP_BROWSER_MAIN_TAB__SESSION__ID = sqlite3_column_int(
|
||||
const sqlite3_int64 APP_BROWSER_MAIN_TAB__SESSION__ID = sqlite3_column_int64(
|
||||
statement,
|
||||
DB::SESSION::ID
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue