Skip to content
Snippets Groups Projects

Show the viewer manually before the end of the scope is reached

Merged Aaron Grabowy requested to merge feature/show-viewer-before-end-of-scope into develop
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
@@ -175,7 +175,8 @@ public:
}
raii_view_closer(raii_view_closer&& rhs) noexcept : mMustCloseSubview(rhs.mMustCloseSubview) { rhs.isValid = false; }
~raii_view_closer()
~raii_view_closer() { show(); }
void show()
{
if (!isValid)
return;
@@ -192,6 +193,7 @@ public:
{
on_last_command();
}
isValid = false;
}
static void convertCurrentSubviewToLayout(layout::settings&& settings)
Loading