mirror of
https://github.com/beekeeper-studio/beekeeper-studio.git
synced 2026-03-13 10:12:54 +08:00
Merge pull request #2966 from beekeeper-studio/fix/sqltexteditor-race
fix sql text editor race condition
This commit is contained in:
@@ -686,17 +686,17 @@
|
||||
initialize() {
|
||||
this.initialized = true
|
||||
// TODO (matthew): Add hint options for all tables and columns\
|
||||
this.initializeQueries()
|
||||
this.query.title = this.activeTab.title
|
||||
|
||||
this.tab.unsavedChanges = this.unsavedChanges
|
||||
|
||||
if (this.split) {
|
||||
this.split.destroy();
|
||||
this.split = null;
|
||||
}
|
||||
|
||||
this.$nextTick(() => {
|
||||
this.initializeQueries()
|
||||
this.tab.unsavedChanges = this.unsavedChanges
|
||||
|
||||
this.split = Split(this.splitElements, {
|
||||
elementStyle: (_dimension, size) => ({
|
||||
'flex-basis': `calc(${size}%)`,
|
||||
|
||||
Reference in New Issue
Block a user