mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
Scroll fix
This commit is contained in:
parent
fde6099769
commit
2b24635ef7
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
#include "debugger_frame.h"
|
||||
|
||||
#include <QScrollBar>
|
||||
#include <QSplitter>
|
||||
#include <QApplication>
|
||||
#include <QFontDatabase>
|
||||
|
@ -293,9 +294,10 @@ void debugger_frame::WriteRegs()
|
|||
m_regs->clear();
|
||||
return;
|
||||
}
|
||||
|
||||
int loc = m_regs->verticalScrollBar()->value();
|
||||
m_regs->clear();
|
||||
m_regs->setText(qstr(cpu->dump()));
|
||||
m_regs->verticalScrollBar()->setValue(loc);
|
||||
}
|
||||
|
||||
void debugger_frame::OnUpdate()
|
||||
|
|
Loading…
Add table
Reference in a new issue