mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-18 18:38:51 +00:00
Enabled webview developer inspector to fix the graph view
This commit is contained in:
parent
ea6789af54
commit
a8f644dcf4
@ -68,6 +68,7 @@ MemoryWidget::MemoryWidget(MainWindow *main, QWidget *parent) :
|
||||
// Hide graph webview scrollbars
|
||||
ui->graphWebView->page()->mainFrame()->setScrollBarPolicy(Qt::Vertical, Qt::ScrollBarAlwaysOff);
|
||||
ui->graphWebView->page()->mainFrame()->setScrollBarPolicy(Qt::Horizontal, Qt::ScrollBarAlwaysOff);
|
||||
QWebSettings::globalSettings()->setAttribute(QWebSettings::DeveloperExtrasEnabled, true);
|
||||
|
||||
// Add margin to function name line edit
|
||||
ui->fcnNameEdit->setTextMargins(5, 0, 0, 0);
|
||||
|
@ -1233,7 +1233,7 @@ p, li { white-space: pre-wrap; }
|
||||
<item>
|
||||
<widget class="QWebView" name="graphWebView" native="true">
|
||||
<property name="contextMenuPolicy">
|
||||
<enum>Qt::NoContextMenu</enum>
|
||||
<enum>Qt::DefaultContextMenu</enum>
|
||||
</property>
|
||||
<property name="url" stdset="0">
|
||||
<url>
|
||||
|
Loading…
Reference in New Issue
Block a user