I BROKE EVERYTHING

refactored the rendering process
This commit is contained in:
fourtf
2018-01-11 20:16:25 +01:00
parent c240d6f7c2
commit 10850c0ec7
62 changed files with 2155 additions and 2117 deletions
+2 -2
View File
@@ -126,9 +126,9 @@ void Notebook::select(SplitContainer *page)
this->performLayout();
}
void Notebook::selectIndex(unsigned index)
void Notebook::selectIndex(int index)
{
if (index >= this->pages.size()) {
if (index < 0 || index >= this->pages.size()) {
return;
}