comparison src/main.cpp @ 8:b1f73678ef61

update text paragraphs are now their own objects, as they should be
author Paper <mrpapersonic@gmail.com>
date Sat, 26 Aug 2023 03:39:34 -0400
parents 07a9095eaeed
children 5c0397762b53
comparison
equal deleted inserted replaced
7:07a9095eaeed 8:b1f73678ef61
111 111
112 connect(sidebar, &SideBar::CurrentItemChanged, stack, [stack](int index){ 112 connect(sidebar, &SideBar::CurrentItemChanged, stack, [stack](int index){
113 switch (index) { 113 switch (index) {
114 case 0: 114 case 0:
115 case 1: 115 case 1:
116 case 2:
117 stack->setCurrentIndex(index); 116 stack->setCurrentIndex(index);
117 break;
118 case 3:
119 stack->setCurrentIndex(2);
118 break; 120 break;
119 default: 121 default:
120 break; 122 break;
121 } 123 }
122 }); 124 });